package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerDao {
    List<Customer> getCustomerList(@Param("offSet") int offSet, @Param("rows") Integer rows, @Param("customerName") String customerName);

    Integer getCustomerCount(@Param("customerName") String customerName);

    void updateCustomerById(Customer customer);

    void addCustomer(Customer customer);

    void deleteCustomer(@Param("arrays") String[] arrays);
}
